Skip to content

formadaptor 0.3.1: an open proposal starts nothing, and a pushed branch is not pushed again - #7

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/open-proposal-and-push-0.3.1
Nov 26, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/open-proposal-and-push-0.3.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

formadaptor 0.3.1: an open proposal starts nothing, and a pushed branch is not pushed again

Summary

  • plan asks the target for its open pull requests before it writes a plan. When its branch is already the head of an open pull request it writes no plan and says which pull request waits for a merge, so formcompiler's adaptor.yml starts no propose job for it. When GitHub cannot be asked, plan goes on as before and apply makes the same check.
  • apply asks the target for the branch before pushing and does not push a branch that is already there. The branch name carries the change hash, so a branch of that name holds the same files. A run that pushed and was then refused the pull request no longer blocks the next run.
  • The token reaches git through its environment.
  • docs/OWNER_SETUP.md step 4 says what formcompiler's fine-grained token needs when the release environment holds it instead of the App.

Commits

  • fix(propose): an open proposal starts nothing, a branch already on the target is not pushed again, and the token reaches git through its environment
  • chore(release): 0.3.1

Version

0.3.1 in VERSION, the README, the log header and the test that reads them. CHANGELOG.md has the v0.3.1 section.

Checks

  • pytest tests: 82 passed. No test was added or changed apart from the version it reads.
  • Rehearsed against a local repository and a local stand-in for the API: plan with its branch open as a pull request wrote no plan and changed=false; plan with the API unreachable planned as before; apply with the branch already on the target did not push and opened the pull request; apply against a repository that does not exist stopped with git's own message.

Not run: nothing ran on GitHub.

Merging

Merge before formcompiler 0.24.1. Merge with a merge commit so each commit and its signature stays. Do not squash.

…e target is not pushed again, and the token reaches git through its environment
@nodemode-ai
nodemode-ai merged commit de244bd into main Nov 26, 2026
2 checks passed
@nodemode-ai
nodemode-ai deleted the fix/open-proposal-and-push-0.3.1 branch November 29, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant